package com.liqi.frame.comm.po;


import com.liqi.frame.comm.base.BaseEntity;
import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * 用户与角色关系表
 * Created by liqi on 2018/1/5.
 * liqiwork@qq.com
 */
@Data
public class UserRole extends BaseEntity {
    private String id;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 角色id
     */
    private String roleId;

    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
